package qx.hyj.petrescue.exception;


public class DescribeException extends RuntimeException {

    private Integer code;

    private String message;

    public DescribeException(Integer code, String message) {
        super(message);
        this.code = code;
        this.message = message;

    }
    public DescribeException(String message) {
        super(message);
        this.code = 500;
    }

}
